package cn.highset.modules.base.serviceimpl.mybatis;

import cn.highset.modules.base.dao.mapper.VoteItemPraiseMapper;
import cn.highset.modules.base.entity.VoteItemPraise;
import cn.highset.modules.base.service.mybatis.IVoteItemPraiseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @author Victor
 */
@Service
public class IVoteItemPraiseServiceImpl extends ServiceImpl<VoteItemPraiseMapper, VoteItemPraise> implements IVoteItemPraiseService {

    @Override
    public Set<String> findVoteItemIdByUseridAndVoteId(String userid, String voteId) {
        return baseMapper.findVoteItemIdByUseridAndVoteId(userid, voteId);
    }
}
